SureTax Config API
GET LegalEntities
Overview
The GET LegalEntities API endpoint facilitates the process of getting a legal entity info.
OperationId: GET LegalEntities
Authorization Method(s): OAuth
Verb: GET
End Point: /api/v1/Account/LegalEntities/{entitycode}
Overview
Example Response
{
"validationKey": "7dd28433-3c1b-4a44-a723-89aa9ead9a9b",
"entityName": "003258888",
"contactNumbers": [
{
"contactNumberType": "Office",
"contactPhonenumber": "1238123234"
}
],
"entityAddress": {
"address1": "1567 Street ct",
"address2": "",
"city": "Frisco",
"state": "TX",
"country": "US",
"zipcode": "11111",
"plus4": "1234"
},
"contactPersons": [
{
"personType": "PRIMARY",
"personName": "testname",
"emailAddress": "example@example.com"
}
],
"fein": "1234567890",
"website": "www.example.com",
"notificationBusinessEmail": "business@wk.com",
"entityDescription": "Description"
}| code | description |
|---|---|
| 200 | The API Response contains the information of the legal entity. |
| 204 | 204 No Content If no records are found for the provided request, the API will respond with a No Content status. |
| 400 | Bad request. Invalid parameters or missing required information. |
| 401 | Unauthorized access. The request requires user authentication. |
| 500 | Internal server error. An error occurred while processing the request. |